package com.ruoyi.hospital.domain.order;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 快递模板对象 express_template
 * 
 * @author wendao
 * @date 2025-06-16
 */
public class ExpressTemplate extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 计费方式 */
    @Excel(name = "计费方式")
    private Integer feeType;

    /** 创建者 */
    @Excel(name = "创建者")
    private Integer storeId;

    /*
    * 不可配送
    * */
    private List<ExpressTemplateNoregion>  noRegions;

    /*
    * 可配送
    * */
    public void setId(Integer id)
    {
        this.id = id;
    }

    private List<ExpressTemplateRegion>  regions;


    public List<ExpressTemplateNoregion> getNoRegions() {
        return noRegions;
    }

    public void setNoRegions(List<ExpressTemplateNoregion> noRegions) {
        this.noRegions = noRegions;
    }

    public List<ExpressTemplateRegion> getRegions() {
        return regions;
    }

    public void setRegions(List<ExpressTemplateRegion> regions) {
        this.regions = regions;
    }

    public Integer getId()
    {
        return id;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setFeeType(Integer feeType) 
    {
        this.feeType = feeType;
    }

    public Integer getFeeType() 
    {
        return feeType;
    }
    public void setStoreId(Integer storeId)
    {
        this.storeId = storeId;
    }

    public Integer getStoreId()
    {
        return storeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("templateName", getTemplateName())
            .append("feeType", getFeeType())
            .append("storeId", getStoreId())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
